package com.example.swim.Pojo;

import lombok.Data;

/**
 * @author LiYa
 * @create 2022-07-17 19:43
 */
@Data
public class Student {
    int id;
    String name;
    int age;
    String phone;
    String email;
    Integer cid;  //报名课程的id
    Integer aid;    //参加活动的id
    String password;
    Integer first;  //用来判断学员是否是第一次登录


    public Student() {
    }

    public Student(String name, int age, String phone, String email, Integer cid, Integer aid, String password, Integer first) {
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.email = email;
        this.cid = cid;
        this.aid = aid;
        this.password = password;
        this.first = first;
    }

    public Integer getFirst() {
        return first;
    }

    public void setFirst(Integer first) {
        this.first = first;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


}
